package com.example.wudi.service;

import com.example.wudi.entity.User;

import java.util.List;

public interface UserService {
    public List<User> findAll();
    User login(String userName, String password);
    User findUserById(int id);
    int addUser(User user);
    int update(User user);
    int delete(int id);
}
